package com.shuziren.domain.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data

public class InterPersonSelectDto {


    private String name;
    private String expertise;
    //状态
    @Min(value = 1,message = "状态只有1，2")
    @Max(value = 2,message = "状态只有1，2")
    private Integer status;
    @Min(value = 1,message = "页码不能小于1")

    private Integer pageNum;
    @Min(value = -1,message = "每页总数不能小于1")

    private Integer pageSize;

}
